bitkeeper revision 1.1389.5.46 (4280957c13dvEVUuixaYEHltnt6E1A)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 10 May 2005 11:05:32 +0000 (11:05 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 10 May 2005 11:05:32 +0000 (11:05 +0000)
Fix ACPI initialisation.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/setup.c

index f4967e9317d58072babd0bfb623d06c2f62e645b..ac659a52def20a3769f18bba802c4d3036cefe9b 100644 (file)
@@ -77,12 +77,7 @@ unsigned long wait_init_idle;
 
 struct exec_domain *idle_task[NR_CPUS] = { &idle0_exec_domain };
 
-#ifdef CONFIG_ACPI_INTERPRETER
-int acpi_disabled = 0;
-#else
-int acpi_disabled = 1;
-#endif
-EXPORT_SYMBOL(acpi_disabled);
+int acpi_disabled;
 
 int phys_proc_id[NR_CPUS];
 int logical_proc_id[NR_CPUS];
@@ -375,7 +370,10 @@ static void __init start_of_day(void)
 #endif
     paging_init();                /* not much here now, but sets up fixmap */
     if ( !opt_noacpi )
+    {
+        acpi_boot_table_init();
         acpi_boot_init();
+    }
 #ifdef CONFIG_SMP
     if ( smp_found_config ) 
         get_smp_config();